package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.util.Date;

/**
 * 逝者表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "FuneralDeadEntity", name = "funeral_dead", comment = "逝者表")
public class FuneralDeadEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 逝者姓名
     */
    @MyColumn(value = "deadName", name = "dead_name", comment = "逝者姓名")
    private String deadName;

    /**
     * 逝者性别编码
     */
    @MyColumn(value = "deadGenderCode", name = "dead_gender_code", comment = "逝者性别编码")
    private Integer deadGenderCode;

    /**
     * 逝者民族编码
     */
    @MyColumn(value = "deadNationCode", name = "dead_nation_code", comment = "逝者民族编码")
    private Integer deadNationCode;

    /**
     * 年龄类型编码
     */
    @MyColumn(value = "deadAgeTypeCode", name = "dead_age_type_code", comment = "年龄类型编码")
    private Integer deadAgeTypeCode;

    /**
     * 逝者年龄
     */
    @MyColumn(value = "deadAge", name = "dead_age", comment = "逝者年龄")
    private String deadAge;

    /**
     * 出生日期
     */
    @MyColumn(value = "birthDate", name = "birth_date", comment = "出生日期")
    private Date birthDate;

    /**
     * 证件类型编码
     */
    @MyColumn(value = "certificateTypeCode", name = "certificate_type_code", comment = "证件类型编码")
    private Integer certificateTypeCode;

    /**
     * 证件号码
     */
    @MyColumn(value = "certificateNo", name = "certificate_no", comment = "证件号码")
    private String certificateNo;

    /**
     * 逝者姓名同音
     */
    @MyColumn(value = "deadNameUnison", name = "dead_name_unison", comment = "逝者姓名同音")
    private String deadNameUnison;

    /**
     * 逝者姓名拼音缩写
     */
    @MyColumn(value = "deadNameAbbr", name = "dead_name_abbr", comment = "逝者姓名拼音缩写")
    private String deadNameAbbr;

    /**
     * 死亡日期
     */
    @MyColumn(value = "deathDate", name = "death_date", comment = "死亡日期")
    private Date deathDate;

    /**
     * 死亡原因
     */
    @MyColumn(value = "deathCause", name = "death_cause", comment = "死亡原因")
    private String deathCause;

    /**
     * 骨灰处理方式编码
     */
    @MyColumn(value = "ashHandleTypeCode", name = "ash_handle_type_code", comment = "骨灰处理方式编码")
    private Integer ashHandleTypeCode;

    /**
     * 火化类型编码
     */
    @MyColumn(value = "cremationTypeCode", name = "cremation_type_code", comment = "火化类型编码")
    private Integer cremationTypeCode;

    /**
     * 遗体状态编码
     */
    @MyColumn(value = "remainsStateCode", name = "remains_state_code", comment = "遗体状态编码")
    private Integer remainsStateCode;

    /**
     * 国家国籍编码
     */
    @MyColumn(value = "countryCode", name = "country_code", comment = "国家国籍编码")
    private Integer countryCode;

    /**
     * 省份外键
     */
    @MyColumn(value = "provinceId", name = "province_id", comment = "省份外键")
    private Integer provinceId;

    /**
     * 区市外键
     */
    @MyColumn(value = "cityId", name = "city_id", comment = "区市外键")
    private Integer cityId;

    /**
     * 区县外键
     */
    @MyColumn(value = "countyId", name = "county_id", comment = "区县外键")
    private Integer countyId;

    /**
     * 街道乡镇外键
     */
    @MyColumn(value = "townId", name = "town_id", comment = "街道乡镇外键")
    private Integer townId;

    /**
     * 行政村外键
     */
    @MyColumn(value = "villageId", name = "village_id", comment = "行政村外键")
    private Integer villageId;

    /**
     * 省市区县全名称
     */
    @MyColumn(value = "provinceCityCountyFullName", name = "province_city_county_full_name", comment = "省市区县全名称")
    private String provinceCityCountyFullName;

    /**
     * 户籍地
     */
    @MyColumn(value = "householdRegistrationPlace", name = "household_registration_place", comment = "户籍地")
    private String householdRegistrationPlace;

    /**
     * 是否本地户口
     */
    @MyColumn(value = "asLocal", name = "as_local", comment = "是否本地户口", required = true)
    private Integer asLocal;

    /**
     * 生前住址
     */
    @MyColumn(value = "beforeDeathAddress", name = "before_death_address", comment = "生前住址")
    private String beforeDeathAddress;

    /**
     * 惠民区域编码
     */
    @MyColumn(value = "benefitDistrictCode", name = "benefit_district_code", comment = "惠民区域编码")
    private Integer benefitDistrictCode;

    /**
     * 减免类型编码
     */
    @MyColumn(value = "exemptionTypeCode", name = "exemption_type_code", comment = "减免类型编码")
    private Integer exemptionTypeCode;

    /**
     * 死亡证编号
     */
    @MyColumn(value = "deathCertificateNo", name = "death_certificate_no", comment = "死亡证编号")
    private String deathCertificateNo;

    /**
     * 死亡证明开具单位
     */
    @MyColumn(value = "deathCertificateUnit", name = "death_certificate_unit", comment = "死亡证明开具单位")
    private String deathCertificateUnit;

    /**
     * 殡葬证明开具单位
     */
    @MyColumn(value = "funeralCertificateUnit", name = "funeral_certificate_unit", comment = "殡葬证明开具单位")
    private String funeralCertificateUnit;

    /**
     * 接尸地点
     */
    @MyColumn(value = "transportPlace", name = "transport_place", comment = "接尸地点")
    private String transportPlace;

    /**
     * 是否到馆
     */
    @MyColumn(value = "asArrived", name = "as_arrived", comment = "是否到馆", required = true)
    private Integer asArrived;

    /**
     * 到馆时间
     */
    @MyColumn(value = "arrivedTime", name = "arrived_time", comment = "到馆时间")
    private Date arrivedTime;

    /**
     * 洽谈员外键
     */
    @MyColumn(value = "negotiatorUserId", name = "negotiator_user_id", comment = "洽谈员外键")
    private Integer negotiatorUserId;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;

    /**
     * 遗体到馆存放编码
     */
    @MyColumn(value = "whereaboutTypeCode", name = "whereabout_type_code", comment = "遗体到馆存放编码")
    private Integer whereaboutTypeCode;


    public String getBusinessCode() {
        return businessCode;
    }

    public FuneralDeadEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public FuneralDeadEntity setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public Integer getDeadGenderCode() {
        return deadGenderCode;
    }

    public FuneralDeadEntity setDeadGenderCode(Integer deadGenderCode) {
        this.deadGenderCode = deadGenderCode;
        return this;
    }

    public Integer getDeadNationCode() {
        return deadNationCode;
    }

    public FuneralDeadEntity setDeadNationCode(Integer deadNationCode) {
        this.deadNationCode = deadNationCode;
        return this;
    }

    public Integer getDeadAgeTypeCode() {
        return deadAgeTypeCode;
    }

    public FuneralDeadEntity setDeadAgeTypeCode(Integer deadAgeTypeCode) {
        this.deadAgeTypeCode = deadAgeTypeCode;
        return this;
    }

    public String getDeadAge() {
        return deadAge;
    }

    public FuneralDeadEntity setDeadAge(String deadAge) {
        this.deadAge = deadAge;
        return this;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public FuneralDeadEntity setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
        return this;
    }

    public Integer getCertificateTypeCode() {
        return certificateTypeCode;
    }

    public FuneralDeadEntity setCertificateTypeCode(Integer certificateTypeCode) {
        this.certificateTypeCode = certificateTypeCode;
        return this;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public FuneralDeadEntity setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
        return this;
    }

    public String getDeadNameUnison() {
        return deadNameUnison;
    }

    public FuneralDeadEntity setDeadNameUnison(String deadNameUnison) {
        this.deadNameUnison = deadNameUnison;
        return this;
    }

    public String getDeadNameAbbr() {
        return deadNameAbbr;
    }

    public FuneralDeadEntity setDeadNameAbbr(String deadNameAbbr) {
        this.deadNameAbbr = deadNameAbbr;
        return this;
    }

    public Date getDeathDate() {
        return deathDate;
    }

    public FuneralDeadEntity setDeathDate(Date deathDate) {
        this.deathDate = deathDate;
        return this;
    }

    public String getDeathCause() {
        return deathCause;
    }

    public FuneralDeadEntity setDeathCause(String deathCause) {
        this.deathCause = deathCause;
        return this;
    }

    public Integer getAshHandleTypeCode() {
        return ashHandleTypeCode;
    }

    public FuneralDeadEntity setAshHandleTypeCode(Integer ashHandleTypeCode) {
        this.ashHandleTypeCode = ashHandleTypeCode;
        return this;
    }

    public Integer getCremationTypeCode() {
        return cremationTypeCode;
    }

    public FuneralDeadEntity setCremationTypeCode(Integer cremationTypeCode) {
        this.cremationTypeCode = cremationTypeCode;
        return this;
    }

    public Integer getRemainsStateCode() {
        return remainsStateCode;
    }

    public FuneralDeadEntity setRemainsStateCode(Integer remainsStateCode) {
        this.remainsStateCode = remainsStateCode;
        return this;
    }

    public Integer getCountryCode() {
        return countryCode;
    }

    public FuneralDeadEntity setCountryCode(Integer countryCode) {
        this.countryCode = countryCode;
        return this;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public FuneralDeadEntity setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
        return this;
    }

    public Integer getCityId() {
        return cityId;
    }

    public FuneralDeadEntity setCityId(Integer cityId) {
        this.cityId = cityId;
        return this;
    }

    public Integer getCountyId() {
        return countyId;
    }

    public FuneralDeadEntity setCountyId(Integer countyId) {
        this.countyId = countyId;
        return this;
    }

    public Integer getTownId() {
        return townId;
    }

    public FuneralDeadEntity setTownId(Integer townId) {
        this.townId = townId;
        return this;
    }

    public Integer getVillageId() {
        return villageId;
    }

    public FuneralDeadEntity setVillageId(Integer villageId) {
        this.villageId = villageId;
        return this;
    }

    public String getProvinceCityCountyFullName() {
        return provinceCityCountyFullName;
    }

    public FuneralDeadEntity setProvinceCityCountyFullName(String provinceCityCountyFullName) {
        this.provinceCityCountyFullName = provinceCityCountyFullName;
        return this;
    }

    public String getHouseholdRegistrationPlace() {
        return householdRegistrationPlace;
    }

    public FuneralDeadEntity setHouseholdRegistrationPlace(String householdRegistrationPlace) {
        this.householdRegistrationPlace = householdRegistrationPlace;
        return this;
    }

    public Integer getAsLocal() {
        return asLocal;
    }

    public FuneralDeadEntity setAsLocal(Integer asLocal) {
        this.asLocal = asLocal;
        return this;
    }

    public String getBeforeDeathAddress() {
        return beforeDeathAddress;
    }

    public FuneralDeadEntity setBeforeDeathAddress(String beforeDeathAddress) {
        this.beforeDeathAddress = beforeDeathAddress;
        return this;
    }

    public Integer getBenefitDistrictCode() {
        return benefitDistrictCode;
    }

    public FuneralDeadEntity setBenefitDistrictCode(Integer benefitDistrictCode) {
        this.benefitDistrictCode = benefitDistrictCode;
        return this;
    }

    public Integer getExemptionTypeCode() {
        return exemptionTypeCode;
    }

    public FuneralDeadEntity setExemptionTypeCode(Integer exemptionTypeCode) {
        this.exemptionTypeCode = exemptionTypeCode;
        return this;
    }

    public String getDeathCertificateNo() {
        return deathCertificateNo;
    }

    public FuneralDeadEntity setDeathCertificateNo(String deathCertificateNo) {
        this.deathCertificateNo = deathCertificateNo;
        return this;
    }

    public String getDeathCertificateUnit() {
        return deathCertificateUnit;
    }

    public FuneralDeadEntity setDeathCertificateUnit(String deathCertificateUnit) {
        this.deathCertificateUnit = deathCertificateUnit;
        return this;
    }

    public String getFuneralCertificateUnit() {
        return funeralCertificateUnit;
    }

    public FuneralDeadEntity setFuneralCertificateUnit(String funeralCertificateUnit) {
        this.funeralCertificateUnit = funeralCertificateUnit;
        return this;
    }

    public String getTransportPlace() {
        return transportPlace;
    }

    public FuneralDeadEntity setTransportPlace(String transportPlace) {
        this.transportPlace = transportPlace;
        return this;
    }

    public Integer getAsArrived() {
        return asArrived;
    }

    public FuneralDeadEntity setAsArrived(Integer asArrived) {
        this.asArrived = asArrived;
        return this;
    }

    public Date getArrivedTime() {
        return arrivedTime;
    }

    public FuneralDeadEntity setArrivedTime(Date arrivedTime) {
        this.arrivedTime = arrivedTime;
        return this;
    }

    public Integer getNegotiatorUserId() {
        return negotiatorUserId;
    }

    public FuneralDeadEntity setNegotiatorUserId(Integer negotiatorUserId) {
        this.negotiatorUserId = negotiatorUserId;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public FuneralDeadEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public Integer getWhereaboutTypeCode() {
        return whereaboutTypeCode;
    }

    public FuneralDeadEntity setWhereaboutTypeCode(Integer whereaboutTypeCode) {
        this.whereaboutTypeCode = whereaboutTypeCode;
        return this;
    }
}